.App {
  text-align: center;
}

.home_work{
  width: 100vw;
  min-height: 100vh;
  padding-top: 3rem;
  /* background-image: linear-gradient(to right bottom,#edf1f5,#ebedf1); */
}

 /* Autocomplete 样式 */
.MuiAutocomplete-root {
  width: 250px;
  margin-bottom: 20px;
}

/* TextField 样式 */
.MuiTextField-root {
  width: 250px;
  margin-bottom: 20px;
}

/* Button 样式 */
.MuiButton-root {
  background-color: #2196f3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Snackbar 样式 */
.MuiSnackbar-root {
  bottom: 20px;
}

.MuiSnackbarContent-root {
  background-color: #f44336;
  color: #fff;
  font-weight: bold;
}

.MuiSnackbarContent-message {
  display: flex;
  align-items: center;
}

.MuiSnackbarContent-action {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.MuiSnackbarContent-action button {

  color: #fff;
}


/* 页面布局样式 */
.item{
  font-size: 1.2rem;
  flex: 0 0 30%;
  min-height: 4rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255,255,255,0.5);
  transition: all .2s;
}

p{
  font-size: 1.4rem;
  border-radius: 1rem;
  background-color: rgba(255,255,255,0.5);
  align-items: center;
}

.star{
  align-items: center;
  background-color: rgba(255,255,255,0.5);
  transition: all .2s;
}

.item:hover{
  transform: scale(1.05);
}

.item select {

  width: 100%;
  padding: 10px;
  font-size: 0.875rem;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
}

.item select:focus {
  outline: none;
  border: 1px solid #4d90fe;
  box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.2);
}

.item label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.hiter {
  background-attachment: scroll;
  background-clip: border-box;
  background-color: rgb(73, 146, 223);
  background-image: none;
  background-origin: padding-box;
  background-size: auto;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-sizing: border-box;
  color: rgb(5, 12, 13);
  cursor: pointer;
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-stretch: normal;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  height: 0px;
  line-height: normal;
  /* margin-bottom: 8px;
  margin-left: 9.28px;
  margin-right: 9.28px;
  margin-top: 4px; */
  min-height: 2px;
  min-width: 80px;
  outline-width: 0px;
  padding-bottom: 24px;
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 2px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition-delay: 0s;
  transition-duration: 0.28s;
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 0px;
  z-index: 0;
  /* -webkit-user-select: none; */
}

#activity {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

#activity:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 20vh;
  background: rgba(0,173,239,0.5);
}
#activity:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 20vh;
  background: rgba(235,0,138, 0.5);
}